package com.segersten.kalaha.util.tasks;

import com.google.appengine.api.taskqueue.Queue;
import com.google.appengine.api.taskqueue.QueueFactory;
import static com.google.appengine.api.taskqueue.TaskOptions.Builder.*;

public class TaskFactory {
	
	public static void findOpponent(String userId) {
		Queue queue = QueueFactory.getDefaultQueue();
        queue.add(withUrl("/lobby/findOpponent").param("userId", userId));
	}
}
